package com.ocom.common.request.exposeapi.ssgl;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AllPersonInfoRequest extends SSGLBaseRequest {

    @NotBlank(message = "comAppid 不能为空")
    private String comAppid;

    @NotNull(message = "index 不能为空")
    @Min(value = 1)
    private Integer index = 1;

    @NotNull(message = "size 不能为空")
    private Integer size = 300;

    private Long oldPid;

    private Integer status=0;

    @Override
    public String toString() {
        return "AllPersonInfoRequest{" +
                "comAppid='" + comAppid + '\'' +
                ", index=" + index +
                ", size=" + size +
                ", oldPid=" + oldPid +
                ", status=" + status +
                "} " + super.toString();
    }
}
